package cn.wang.cart.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
    @NotNull
    private Long skuId;

    private String title;
    private String image;
    @NotNull
    private Long price;
    @NotNull
    private Integer num;
    private String ownSpec; // 规格参数的字符串类型
}
